<html ng-app>
<head>
  <script src="../vendor/angular.js"></script>
  <link rel="stylesheet" ng-href="style.css"/>
</head>
<body>
  <form name="form" novalidate>
    <label>Login:</label> <input type="text" ng-model="login" required/>
    <button ng-disabled="!(form.$dirty && form.$valid)">Save</button>
  </form>
</body>
</html>